<!-- <ion-header>
  <ion-navbar>
    <ion-title>扫描</ion-title>
  </ion-navbar>
</ion-header> -->

<ion-content  class="homepage">
    <div class="header" style="background: url('./assets/imgs/headers.png') no-repeat ; background-size:100% 100%;">
            服药&采血
     </div>
    <div class="" *ngIf="all_txt">
      <ion-grid >
                <ion-row >
                <ion-col>
                  受试者姓名:
                </ion-col>
                <ion-col>
                 {{SUBid}}
                </ion-col>
                
              </ion-row>
              <ion-row >
                <ion-col>
                  性别:
                </ion-col>
                <ion-col>
                 {{sex}}
                </ion-col>
                
              </ion-row>
              <ion-row >
                <ion-col>
                  随机号:
                </ion-col>
                <ion-col>
                 {{age}}
                </ion-col>
                
              </ion-row>
               <ion-row >
                <ion-col>
                  项目周期:
                </ion-col>
                <ion-col>
                 {{projectCyc}}
                </ion-col>
                
              </ion-row>
              <ion-row >
                <ion-col>
                  项目编号:
                </ion-col>
                <ion-col>
                 {{projectName}}
                </ion-col>
                
              </ion-row>
              <ion-row >
                <ion-col>
                  阶段:
                </ion-col>
                <ion-col>
                 {{processName}}
                </ion-col>
                
              </ion-row>

              
              
            </ion-grid>

    </div>
    <div *ngIf="imgAll" class="displayAlls">
        <div class="disAll">
               <img [src]="avatarPath1" alt=""  id="img1" class="displayss"/>
                <img [src]="avatarPath2" alt=""  id="img2" class="displayss" *ngIf="img22" />
          </div>
        <div class="textcenter">
            {{MSG}}
        </div>
      </div>
    
    <div class="all_bottom">
        <!-- <div>
                <button class="btnhome"     (click)="getPicture22()"><img [src]="statee" alt="" class="stateimg"/>(身份认证)</button>
            </div> -->
            <div  *ngIf="drawbloodshenfen2" class=''>
                <div class="btnhomeSns">
                    <button class="btnhome"     (click)="getPictureGO1s()">(单人身份认证)</button>
                    <button class="btnhome"     (click)="getPictureGO2s()">(双人身份认证)</button>
                </div>
                <div class="btnhomeout">
                    <button class="btnhome"     (click)="gevidence()">放弃认证</button>
                  
                </div>
                
            </div>
        <div class="" *ngIf="all_one">
            <div  >
                <button  class="btnhome"  (click)="all()"><img [src]="statee" alt="" class="stateimg"/>请扫描</button>
            </div>
        </div>
        <div class="" *ngIf="Medication">
            
            <div >
                <button class="btnhome"    (click)="Medication1_c()"><img [src]="statee" alt="" class="stateimg"/>(服药提交)</button>
            </div>
            
        </div>
        <div class="" *ngIf="drawblood">
             
            <div  *ngIf="drawblood1">
                <button class="btnhome"    (click)="drawblood1_c()"><img [src]="statee" alt="" class="stateimg"/>(请扫采血管)</button>
            </div>
            <div  *ngIf="drawbloodshenfen" class='btnhomeSns'>
            
                <button class="btnhome"     (click)="getPictureGO1()">(单人身份认证)</button>
                <button class="btnhome"     (click)="getPictureGO2()">(双人身份认证)</button>
            </div>
            <div  *ngIf="drawblood2" class='btnhomeSns'>
                <button class="btnhome"     (click)="drawblood2_c()">(采血提交)</button>
               
                  <button   class="btnhome"  id="btnhomegNs" (click)="reset()">(重置)</button>
               
            </div>
            
        </div>
        <div  *ngIf="drawblood3" class='btnhomeSns'>
            
                <button class="btnhome"     (click)="getPictureGO11()">(单人身份认证)</button>
                <button class="btnhome"     (click)="getPictureGO21()">(双人身份认证)</button>
            </div>
         <div  *ngIf="drawblood3" class='btnhomeSns'>
                <button class="btnhome"     (click)="drawblood3_c()">(重采提交)</button>
               
                  <button   class="btnhome"  id="btnhomegNs" (click)="reset()">(重置)</button>
               
            </div>
        <div class="btnhomeout"  *ngIf="oneren">
            <button class="btnhome"     (click)="getPicture1()">拍照(请用前置摄像头)</button>
            <button class="btnhome"     (click)="getPictureSub1()">(提交认证)</button>

            <button class="btnhome"     (click)="giveup()">(放弃认证)</button>
        </div>
        <div class="btnhomeout"  *ngIf="tworen">
            

            <button class="btnhome"     (click)="getPicture2()">拍照(请用前置摄像头)</button>
            <button class="btnhome"     (click)="getPictureSub2()">(提交认证)</button>
            <button class="btnhome"     (click)="giveup()">(放弃认证)</button>
        </div>
       
       <!--  <div >
                <button   class="btnhome btnhomeIS"   (click)="stop()"><img [src]="Stop" alt="" class="stateimg stateimgS"/>停止扫描</button>
            </div> -->
            <div class="btnhomeout"  *ngIf="oneren2">
                  <button class="btnhome"     (click)="getPicture1()">拍照(请用前置摄像头)</button>
                  <button class="btnhome"     (click)="getPictureSub_1()">(提交认证)</button>

                  <button class="btnhome"     (click)="giveup2()">返回</button>
              </div>
              <div class="btnhomeout"  *ngIf="tworen2">
                  

                  <button class="btnhome"     (click)="getPicture2()">拍照(请用前置摄像头)</button>
                  <button class="btnhome"     (click)="getPictureSub_2()">(提交认证)</button>
                  <button class="btnhome"     (click)="giveup2()">返回</button>
              </div>
               <!-- 重采 -->
              <div class="btnhomeout"  *ngIf="oneren3">
                  <button class="btnhome"     (click)="getPicture1()">拍照(请用前置摄像头)</button>
                  <button class="btnhome"     (click)="getPictureSub1_cc()">(提交认证)</button>

                  <button class="btnhome"     (click)="giveup3()">返回</button>
              </div>
              <div class="btnhomeout"  *ngIf="tworen3">
                  

                  <button class="btnhome"     (click)="getPicture2()">拍照(请用前置摄像头)</button>
                  <button class="btnhome"     (click)="getPictureSub2_cc()">(提交认证)</button>
                  <button class="btnhome"     (click)="giveup3()">返回</button>
              </div>
          <div class=""  *ngIf="all_reset">
            <div  >
                <button   class="btnhome"  id="btnhomegNs" (click)="reset()">重置</button>
            </div>
        </div>
    </div>
    
    
</ion-content>
